<style>
    .layui-layout-admin .layui-footer {
        position: fixed;
        width: 100%;
        left: 0px;
    }
</style>
<div class="layui-footer footer footer-demo" id="admin-footer">
    <div class="layui-main">
        <p>Copyright &copy; 2021- {{.base.date}}
            <a href="{$domain}">{{.base.domain}}</a>All rights reserved.
        </p>
    </div>
</div>